/* index.css用来美化首页 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.w {
    width: 1200px;
    margin: auto;
}

li {
    list-style: none;
}

/* a内部下划线清除 */
a {
    text-decoration: none;
}

/* 双伪清除抖动 */
.clearfix::before,.clearfix:after{
    content: "";
    display: table;
    }
    .clearfix:after{
        clear:both;
    }

body {
    background-color:black;
}

/* 版心 */
/* .wrapper {
    width: 1200px;
    margin: 0 auto;
} */

/* 头部 */
.header {
    height: 42px;
    background-color:black;
    margin: 30px auto;
}

h1 {
    float: left;
}

/* 导航 */
.nav {
    float: left;
    margin-left: 70px;
    height: 42px;
    /* background-color: green; */
}
.nav li {
    float: left;
    margin-right: 26px;
    color:white;
}

.nav li a{
    display: block;
    padding: 0 0px;
    height: 42px;
    line-height: 42px;
    /* border-bottom: 2px solid pink; */

    font-size: 18px;
}
.nav li a:hover {
    border-bottom: 2px solid red;
}

/* 搜索 */
.search {
    float: left;
    margin-left: 10px;
    width: 412px;
    height: 40px;
    border: 1px solid black;
}

.search input {
    float: left;
    padding-left: 20px;
    /* 左右加在一起的尺寸小于等于父级410 */
    width: 348px;
    height: 38px;
    border: 0;
}
/* 控制placeholder的样式 */
.search input::placeholder {
    font-size: 14px;
    color: grey;
}

/* 按钮 50*40 */
.search button {
    float: left;
    width: 44px;
    height: 38px;
    background-image: url(../images/serchlogo.jpg);
    border: 0;
    z-index: 4;
}

.user {
    float: right;
    margin-bottom: 35px;
    height: 42px;
    line-height: 42px;
}

.user img {
    vertical-align:  middle;
}
/* new */
 
.box {
  width: 100%;
  height:calc(100vh - 40px);
  background-color: rgb(141, 130, 130);
  position: relative;
}
 
video {
  height: calc(100vh - 40px);
  background-size:100% 100%;
  width: 100%;
  position: absolute;
  filter: blur(3px);
  top: 0;
  left: 0;
  z-index: 3;
}
/*把所有的select的三角都去除  */
select {
    /* 去掉三角 */
    margin-left: 4%;
    appearance: none;
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari 和 Chrome */
    /* 去掉边框 */
    border: 1px solid #5cb85c;
    width: 118px;
    height: 34px; display : block;
    position: relative;
    float: left;
    display: block;
}
.div{
    height: 300px;
    width: 300px;
    background:url('./images/logo.jpg') no-repeat center 0px;
    background-position: center 0px;
    background-size: cover;
    text-indent: -999px;
}

.shell{
    height: 100vh;
    overflow-x: hidden;
    perspective: 3px;
}
.shell div{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: 30px;
    letter-spacing: 2px;
}
.image{
    transform: translateZ(-1px) scale(1.6);
    background-size: cover;
    height: 100vh;
    z-index: -1;
}
.text{
    height: 50vh;
    background-color: #fff;
}
.text h1{
    color: #000;
}
.heading{
    z-index: -1;
    transform: translateY(-30vh) translateZ(1px);
    color: #fff;
    font-size: 30px;
}



.btn {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px ;
    border: 1px solid #fff;
    margin-top: 20px;
    border-radius: 5px;
    letter-spacing: 2px;
    transition: .2s;
}

.btn:hover {
    transform: scale(.9);
    backdrop-filter: blur(5px);
}


/* from */
:root {
    --color-primary: #0073ff;
    --color-white: #e9e9e9;
    --color-black:black;
    --color-black-1:black;
  }
  
  body {
    font-family: sans-serif;
    /* background-color:#FAF0E5 ; */
  }
  
  .logo {
    color: var(--color-white);
    font-size: 30px;
  }
  
  .logo span {
    color: var(--color-primary);
  }
  
  .menu-bar {
    background-color: var(--color-black);
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
  
    position: relative;
  }
  
  .menu-bar ul {
    list-style: none;
    display: flex;
  }
  
  .menu-bar ul li {
    /* width: 120px; */
    padding: 10px 30px;
    /* text-align: center; */
  
    position: relative;
  }
  
  .menu-bar ul li a {
    font-size: 20px;
    color: var(--color-white);
    text-decoration: none;
  
    transition: all 0.3s;
  }
  
  .menu-bar ul li a:hover {
    color: var(--color-primary);
  }
  
  .fas {
    float: right;
    margin-left: 10px;
    padding-top: 3px;
  }
  
  /* dropdown menu style */
  .dropdown-menu {
    display: none;
  }
  
  .menu-bar ul li:hover .dropdown-menu {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: var(--color-black);
  }
  
  .menu-bar ul li:hover .dropdown-menu ul {
    display: block;
    margin: 10px;
  }
  
  .menu-bar ul li:hover .dropdown-menu ul li {
    width: 150px;
    padding: 10px;
  }
  
  .dropdown-menu-1 {
    display: none;
  }
  
  .dropdown-menu ul li:hover .dropdown-menu-1 {
    display: block;
    position: absolute;
    left: 150px;
    top: 0;
    background-color: var(--color-black);
  }
  
  .hero {
    height: calc(21vh);
    background: url(./1123.webp) no-repeat;
    background-position: center;
  }
  
  
  
  
